package com.cskaoyan.controller.wx;

import com.cskaoyan.bean.bo.WxFeedbackBo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.service.wx.WxFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author jzp
 * @since 2022/11/23 10:26
 */
@RestController
@RequestMapping("/wx/feedback/")
public class WxFeedback {
    @Autowired
    WxFeedbackService wxFeedbackService;
    @RequestMapping("submit")
    public BaseRespVo submit(@RequestBody WxFeedbackBo wxFeedbackBo){
        int  num = wxFeedbackService.submit(wxFeedbackBo);

        return BaseRespVo.succeed();
    }
}
